<?php
class UsersController extends AppController { 
    var $name = "Users"; 
    var $helpers = array('Html', 'Form'); 

    /*
	function index() {
		$this->set('users', $this->Local->find('all'));
	}
	
	function beforeFilter() {
		parent::beforeFilter();

		// Does not require being logged in
		//$this->Auth->allow('signup', 'forgot');
		
		// If logged in, these pages require logout
		if ($this->Auth->user() && in_array($this->params['action'], array('signup', 'login'))) {
			$this->redirect('/');
		}
	} 
     */
    function login() {} 
     
    function logout() { 
    	$this->Session->setFlash('Logout');
        $this->redirect($this->Auth->logout());
    } 
     
} 
